package com.yourname.xhs.service;

import com.yourname.xhs.bean.Announce;

import java.sql.SQLException;
import java.util.List;

public interface AnnounceService {



    //创建通告
    public abstract boolean createAnnounce(String content) throws SQLException;

    //查看通告
    public abstract List<Announce> selectAnnounce() throws Exception;

    //删除通告
    public abstract int deleteAnnounceById(Long id);
}
